<?php
defined('BASEPATH') OR exit('No direct script access allowed');



class Demo extends CI_Controller {

	public function index(){
		//$this->load->view('site/index');

		echo "demo/index";
	}

	public function page(){

		$dataCount = 20;
		$perPage = 5;
		$currentPage = isset($_GET["page"]) ? intval($_GET["page"]) : 1;

		$pv = new \libraries\common\PageView($dataCount, $perPage, $currentPage);

		echo "<pre>";
		print_r($pv);
	}


}
